export interface PageParams {
	current : number | 1,
	pageSize : number | 30
}

export interface PageResult<T> {
	items : Array<T>,
	pageNo : number,
	pageSize : number,
	counts : number
}

export function generatePageResult<T>() : PageResult<T> {
	return {
		items: [],
		pageNo: 1,
		pageSize: 10,
		counts: 0,
	};
}